
<div class="form-group">
    <label for="tagName" class="col-md-3 control-label">分组名称</label>
    <div class="col-md-5">
		<input type="text" class="form-control" name="name" id="tagName" value="{{ $name }}" autofocus >
    </div>
</div>

<div class="form-group">
    <label for="tagRole" class="col-md-3 control-label">  授权@if($role->role_id==6)主管@elseif($role->role_id==7)客服@endif</label>
    <div class="col-md-5">
		<div class="checkbox icheck">
			@foreach($userList as $ul)
				<label class="label" style="margin-right:20px;">
				  <input type="checkbox" name="usg[]" value="{{$ul->id}}" @if($ul->gid!=null) checked @endif> {{$ul->name}}
				</label>
			@endforeach
		</div>
    </div>
</div>
{{--

<script src="/plugins/iCheck/icheck.min.js"></script>
<script>
  $(function () {
    $('label input').iCheck({
      checkboxClass: 'icheckbox_square-blue',
      radioClass: 'iradio_square-blue',
      increaseArea: '20%' // optional
    });
  });
  </script>
	--}}
